package com.sinosoft.utils;

public class RedisKeyConf {
	
	/**   
	 * @Fields permissions : TODO(权限前缀)   
	 */  
	public static String PERMISSIONS="permissions:";
	
	public static String ROLE_PERMISSIONS=PERMISSIONS+"roleId:";
	
	public static String USER_PERMISSIONS=PERMISSIONS+"userId:";
	
	public static String MENU_PERMISSIONS=PERMISSIONS+"menu:";
	
	public static String API_USERKEY="userkey:";
	
	/**   
	 * @Fields permissions_time : TODO(用户权限的过期时长)   
	 */  
	public static Long PERMISSIONS_TIME=30*60L;
	public static int API_LOGIN_TIME=30;
	
}
